package com.cooldatasoft.Support;

import java.io.Serializable;

public class TranslatableMessage implements Serializable {
  
  private static final long serialVersionUID = -8465242936466893369L;
  private String dictionaryKey;
  private String defaultMessage;
  private String[] propertyKeys = new String[0];
  private Integer code;
  
  public TranslatableMessage() {
  }
  
  public TranslatableMessage(String dictionaryKey, String[] propertyKeys, String defaultMessage) {
    this.dictionaryKey = dictionaryKey;
    this.propertyKeys = propertyKeys;
    this.defaultMessage = defaultMessage;
  }

  public TranslatableMessage(String dictionaryKey, String defaultMessage) {
    this.defaultMessage = defaultMessage;
    this.dictionaryKey = dictionaryKey;
  }

  public String getDictionaryKey() {
    return dictionaryKey;
  }

  public void setDictionaryKey(String dictionaryKey) {
    this.dictionaryKey = dictionaryKey;
  }

  public String getDefaultMessage() {
    return defaultMessage;
  }

  public void setDefaultMessage(String defaultMessage) {
    this.defaultMessage = defaultMessage;
  }

  public String[] getPropertyKeys() {
    return propertyKeys;
  }

  public void setPropertyKeys(String[] propertyKeys) {
    this.propertyKeys = propertyKeys;
  }

  public Integer getCode() {
    return code;
  }

  public void setCode(Integer code) {
    this.code = code;
  }
}
